exports.__esModule = true;

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }

exports.default = class extends think.Logic {
    cassProcessListAction() {
        var _this = this;

        return _asyncToGenerator(function* () {
            _this.allowMethods = 'post';
            let rules = {
                org_id: {
                    required: true,
                    int: true
                }
            };
            let flag = _this.validate(rules);
            if (!flag) {
                return _this.json({
                    "success": false,
                    "msg": '参数类型错误',
                    "result": {},
                    "attributes": {}
                });
            }
        })();
    }

};